<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: include/trp_crm_db_base.h 源文件</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">trp_crm_db_base.h</div></div>
</div><!--header-->
<div class="contents">
<a href="../../d2/da3/trp__crm__db__base_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">/*</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment">-------------------------------------------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="comment">Block code:         0-0-</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment">Block name:         Data base general socket;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment">Block type:         0</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="comment">Block description:  由于在TRP_CRM 中使用两种不同的数据库MySQL和Sqlite3分别管理服务器数据和本地数据。两种数据库都是</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="comment">                    采用c API，而两者的API是不同通用的，接口名称也完全不一样。为了程序编写方便，对两个数据库进行</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="comment">                    抽象处理，安排出共同需要的数据接口。而这些接口的名字都采用纯虚函数处理，说明程序之间的接口，而</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="comment">                    不管其具体的实现。然后再程序的所有地方都使用这个虚拟接口处理，保证了程序编写的一致性和高效性。</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="comment">Date:               2010-12-8 20:04</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="comment">License:            TRP_CRM license</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="comment">Author:             galaxy song</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="comment">--------------------------------------------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="comment">*/</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span> </div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="preprocessor">#include &lt;cstdint&gt;</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="preprocessor">#include &quot;<a class="code" href="../../d3/df7/ary__str_8hpp.html">ary_str.hpp</a>&quot;</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="keyword">using namespace </span><a class="code hl_namespace" href="../../df/d8d/namespacewheels.html">wheels</a>;</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="comment">/*</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="comment">数据元组定义</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="comment">*/</span></div>
<div class="foldopen" id="foldopen00025" data-start="{" data-end="};">
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="../../dc/dc9/class_c_d_b_tuple.html">   25</a></span><span class="keyword">class </span><a class="code hl_class" href="../../dc/dc9/class_c_d_b_tuple.html">CDBTuple</a></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span>{</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="../../dc/dc9/class_c_d_b_tuple.html#a91119fcae1c42e6dabc9082f85004a91">   28</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dc/dc9/class_c_d_b_tuple.html#a91119fcae1c42e6dabc9082f85004a91">GetValue</a>( <span class="keywordtype">int</span> col, <span class="keywordtype">bool</span>&amp; value) = 0;</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="../../dc/dc9/class_c_d_b_tuple.html#afd8ed71fd93a20389e171c31630458e4">   29</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dc/dc9/class_c_d_b_tuple.html#afd8ed71fd93a20389e171c31630458e4">GetValue</a>( <span class="keywordtype">int</span> col, uint8_t&amp; value )= 0;</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="../../dc/dc9/class_c_d_b_tuple.html#a8f17a1ba46d7b3996adaff050ccaf990">   30</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dc/dc9/class_c_d_b_tuple.html#a8f17a1ba46d7b3996adaff050ccaf990">GetValue</a>( <span class="keywordtype">int</span> col, uint16_t&amp; value )  = 0;</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="../../dc/dc9/class_c_d_b_tuple.html#abdcbbcba84527e4bb27cff9efeeba7f7">   31</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dc/dc9/class_c_d_b_tuple.html#abdcbbcba84527e4bb27cff9efeeba7f7">GetValue</a>( <span class="keywordtype">int</span> col, <span class="keywordtype">int</span>&amp; value ) = 0;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="../../dc/dc9/class_c_d_b_tuple.html#ac8410ef9153213eb193e7265fb7312ef">   32</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dc/dc9/class_c_d_b_tuple.html#ac8410ef9153213eb193e7265fb7312ef">GetValue</a>( <span class="keywordtype">int</span> col, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>&amp; value) = 0;</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="../../dc/dc9/class_c_d_b_tuple.html#a97a6fcb20e5f600008bde943164fe1d8">   33</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dc/dc9/class_c_d_b_tuple.html#a97a6fcb20e5f600008bde943164fe1d8">GetValue</a>( <span class="keywordtype">int</span> col, <span class="keywordtype">long</span>&amp; value ) = 0;</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="../../dc/dc9/class_c_d_b_tuple.html#ae0a350794b779c293de7d29448b4e2a0">   34</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dc/dc9/class_c_d_b_tuple.html#ae0a350794b779c293de7d29448b4e2a0">GetValue</a>( <span class="keywordtype">int</span> col, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>&amp; value ) = 0;</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="../../dc/dc9/class_c_d_b_tuple.html#a5fe9e1b839235d06f8a7a24dd5423e14">   35</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dc/dc9/class_c_d_b_tuple.html#a5fe9e1b839235d06f8a7a24dd5423e14">GetValue</a>( <span class="keywordtype">int</span> col, <span class="keywordtype">float</span>&amp; value) = 0;</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="../../dc/dc9/class_c_d_b_tuple.html#a8bd990b42382c85a77a2c64c5bff4275">   36</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dc/dc9/class_c_d_b_tuple.html#a8bd990b42382c85a77a2c64c5bff4275">GetValue</a>( <span class="keywordtype">int</span> col, <span class="keywordtype">double</span>&amp; value ) = 0;</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="../../dc/dc9/class_c_d_b_tuple.html#a86c666588e4b167ac898ef10118a76fe">   37</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dc/dc9/class_c_d_b_tuple.html#a86c666588e4b167ac898ef10118a76fe">GetValue</a>( <span class="keywordtype">int</span> col, std::string&amp; value ) = 0;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span><span class="comment">/*</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span><span class="comment">为了去用如BLOB类型的数据,需要分配大块的存储则使用这个函数.</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span><span class="comment">*/</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="../../dc/dc9/class_c_d_b_tuple.html#adfbf1eb5159f0764720dea858e7367a6">   41</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dc/dc9/class_c_d_b_tuple.html#adfbf1eb5159f0764720dea858e7367a6">GetValue</a>( <span class="keywordtype">int</span> col, <span class="keywordtype">void</span> *buffer , <span class="keywordtype">size_t</span> len ) = 0;</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span>};</div>
</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span> </div>
<div class="foldopen" id="foldopen00044" data-start="{" data-end="};">
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="../../d6/d91/class_c_d_b_field.html">   44</a></span><span class="keyword">class </span><a class="code hl_class" href="../../d6/d91/class_c_d_b_field.html">CDBField</a></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span>{</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="../../d6/d91/class_c_d_b_field.html#a61d287f485cb604389e27af6f4679688">   47</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/d91/class_c_d_b_field.html#a61d287f485cb604389e27af6f4679688">SetFieldName</a>( <span class="keywordtype">char</span>* name ) = 0;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="../../d6/d91/class_c_d_b_field.html#a5d2eebff2086d837817a9fc66068c1f3">   48</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/d91/class_c_d_b_field.html#a5d2eebff2086d837817a9fc66068c1f3">SetFieldOrgName</a>( <span class="keywordtype">char</span>* name) = 0;</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="../../d6/d91/class_c_d_b_field.html#a2f943bda462e73726aad6cc49e3f7190">   49</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/d91/class_c_d_b_field.html#a2f943bda462e73726aad6cc49e3f7190">SetDbName</a>( <span class="keywordtype">char</span>* name ) = 0;</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="../../d6/d91/class_c_d_b_field.html#a632f4c75792147d1132ded35360bbfe5">   50</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/d91/class_c_d_b_field.html#a632f4c75792147d1132ded35360bbfe5">SetDbOrgName</a>( <span class="keywordtype">char</span> * name ) = 0;</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="../../d6/d91/class_c_d_b_field.html#aa7da1e30061bc36da3d694a867ff802d">   51</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/d91/class_c_d_b_field.html#aa7da1e30061bc36da3d694a867ff802d">SetTableName</a>( <span class="keywordtype">char</span>* name ) = 0;</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"><a class="line" href="../../d6/d91/class_c_d_b_field.html#a5e861dd62be4f9ff655d34f50f591981">   52</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/d91/class_c_d_b_field.html#a5e861dd62be4f9ff655d34f50f591981">SetTableOrgName</a>( <span class="keywordtype">char</span>* name ) = 0;</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="../../d6/d91/class_c_d_b_field.html#a349d54532ca7858987aed7b8f6516d6e">   53</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/d91/class_c_d_b_field.html#a349d54532ca7858987aed7b8f6516d6e">SetFieldType</a>( <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> type ) = 0;</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="../../d6/d91/class_c_d_b_field.html#a95bc1c17dd5daf319edd3402fa313ebc">   54</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/d91/class_c_d_b_field.html#a95bc1c17dd5daf319edd3402fa313ebc">SetFlags</a>( <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> type ) = 0;</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="../../d6/d91/class_c_d_b_field.html#af1117f6eae0ee8821daf5b4d827ab6d3">   55</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/d91/class_c_d_b_field.html#af1117f6eae0ee8821daf5b4d827ab6d3">EnableFlags</a>( <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> type, <span class="keywordtype">bool</span> enable = <span class="keyword">true</span> ) = 0;             </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="../../d6/d91/class_c_d_b_field.html#a9386e4c4423f35f56bff17b953008833">   56</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d6/d91/class_c_d_b_field.html#a9386e4c4423f35f56bff17b953008833">DisableFlags</a>( <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> type ) = 0;</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span> </div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="../../d6/d91/class_c_d_b_field.html#a99988045ad1cab0533fd5c29c4705110">   58</a></span>    <span class="keyword">virtual</span> std::string&amp; <a class="code hl_function" href="../../d6/d91/class_c_d_b_field.html#a99988045ad1cab0533fd5c29c4705110">GetFieldName</a>() = 0;</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="../../d6/d91/class_c_d_b_field.html#a83e78927774f6fb8a445ec35087fa841">   59</a></span>    <span class="keyword">virtual</span> std::string&amp; <a class="code hl_function" href="../../d6/d91/class_c_d_b_field.html#a83e78927774f6fb8a445ec35087fa841">GetFieldOrgName</a>() = 0;</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="../../d6/d91/class_c_d_b_field.html#acfefeb51211ac57ac38e04aef4882b2a">   60</a></span>    <span class="keyword">virtual</span> std::string&amp; <a class="code hl_function" href="../../d6/d91/class_c_d_b_field.html#acfefeb51211ac57ac38e04aef4882b2a">GetDbName</a>() = 0;</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="../../d6/d91/class_c_d_b_field.html#aed1dd391dcd79aace60a1cff35781946">   61</a></span>    <span class="keyword">virtual</span> std::string&amp; <a class="code hl_function" href="../../d6/d91/class_c_d_b_field.html#aed1dd391dcd79aace60a1cff35781946">GetDbOrgName</a>() = 0;</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="../../d6/d91/class_c_d_b_field.html#a95652cf7d28d6714318ae5b473d16d30">   62</a></span>    <span class="keyword">virtual</span> std::string&amp; <a class="code hl_function" href="../../d6/d91/class_c_d_b_field.html#a95652cf7d28d6714318ae5b473d16d30">GetTableName</a>() = 0;</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="../../d6/d91/class_c_d_b_field.html#a463df52f63261e56cf62dc4eb6b2fc80">   63</a></span>    <span class="keyword">virtual</span> std::string&amp; <a class="code hl_function" href="../../d6/d91/class_c_d_b_field.html#a463df52f63261e56cf62dc4eb6b2fc80">GetTableOrgName</a>() = 0;</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="../../d6/d91/class_c_d_b_field.html#a8265e8ec2cf6cc155fde136e858dc091">   64</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_function" href="../../d6/d91/class_c_d_b_field.html#a8265e8ec2cf6cc155fde136e858dc091">GetFieldType</a>() = 0;</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="../../d6/d91/class_c_d_b_field.html#a6c5637ea34a44bb96bddf8cec2b0d4e1">   65</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_function" href="../../d6/d91/class_c_d_b_field.html#a6c5637ea34a44bb96bddf8cec2b0d4e1">GetFlags</a>() = 0;</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span>};</div>
</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span> </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span> </div>
<div class="foldopen" id="foldopen00069" data-start="{" data-end="};">
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html">   69</a></span><span class="keyword">class </span><a class="code hl_class" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html">CTRP_CRM_DB</a></div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span>{</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span><span class="keyword">public</span>:</div>
<div class="foldopen" id="foldopen00073" data-start="{" data-end="};">
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4">   73</a></span>    <span class="keyword">enum</span> <a class="code hl_enumeration" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4">errCode</a>{</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4a638a93e047048f5e8a67d17849cc4b56">   74</a></span>        <a class="code hl_enumvalue" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4a638a93e047048f5e8a67d17849cc4b56">ERR_NULL_ROWS</a> = -1000,      <span class="comment">// 结果集二维数组指针空</span></div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4ae2696871aaba7495fdf03349d2714981">   75</a></span>        <a class="code hl_enumvalue" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4ae2696871aaba7495fdf03349d2714981">ERR_NULL_FIELD_RESULT</a>,  <span class="comment">// 结果集列信息集合不存在</span></div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4ab65068ded8bd5bc7aafd63b04cfb43ed">   76</a></span>        <a class="code hl_enumvalue" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4ab65068ded8bd5bc7aafd63b04cfb43ed">ERR_EMPTY_USER</a>,     <span class="comment">// 用户名称空</span></div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4a7ede4284f0a46ad8e681c64657669ecd">   77</a></span>        <a class="code hl_enumvalue" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4a7ede4284f0a46ad8e681c64657669ecd">ERR_MYSQL_NOT_CONNECTED</a>, <span class="comment">// 数据库没有连接</span></div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4a368e00793362ebad4cf31d34519a53d2">   78</a></span>        <a class="code hl_enumvalue" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4a368e00793362ebad4cf31d34519a53d2">ERR_TABLE_NAME_EMPTY</a>,   <span class="comment">// 数据表名称空</span></div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span>        <a class="code hl_enumvalue" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4a18648758daca1db1e05d22fc61b24b88">OK</a> = 0</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4a18648758daca1db1e05d22fc61b24b88">   80</a></span>    };</div>
</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span> </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a9b46818d0049739f6e20d4350607fa8e">   83</a></span>    <span class="keyword">virtual</span> <a class="code hl_enumeration" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4">errCode</a> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a9b46818d0049739f6e20d4350607fa8e">CDB_Query</a>(<span class="keyword">const</span> std::string&amp; sql ) = 0;</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a06fcc9317ce157359b16e6f3f830be15">   84</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a06fcc9317ce157359b16e6f3f830be15">CDB_Connect</a>(<span class="keyword">const</span> std::string&amp; add, <span class="keywordtype">int</span> port,<span class="keyword">const</span> std::string&amp; user,<span class="keyword">const</span> std::string&amp; password, <span class="keyword">const</span> std::string&amp; db) = 0;</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ababdac188fd9011be7bcb1bde5e2288c">   85</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ababdac188fd9011be7bcb1bde5e2288c">CDB_Disconnect</a>() = 0;</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span><span class="comment">//enum tables if successed return count of tables ,tables contain table names, otherwise return error code less than 0</span></div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a8e4ee35bec473f3263476d8ef58ba1d4">   87</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a8e4ee35bec473f3263476d8ef58ba1d4">CDB_EnumDBS</a>( <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; dbs ) = 0;</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a1fc83db70b3168c01ed6352308d2cdc0">   88</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a1fc83db70b3168c01ed6352308d2cdc0">CDB_EnumTables</a>(<a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; tables) = 0;</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a9634b263554fe6e3bbb09dc673f0e150">   89</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a9634b263554fe6e3bbb09dc673f0e150">CDB_EnumTables</a>( <span class="keyword">const</span> std::string&amp; db, <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; tables ) = 0;</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span> </div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a9b000923afdc130e4a0856c910307ae1">   91</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a9b000923afdc130e4a0856c910307ae1">CDB_NumCols</a>() = 0;</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a12ac71e313a851a5de28e5057ffe3df3">   92</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a12ac71e313a851a5de28e5057ffe3df3">CDB_NumRows</a>() = 0;</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a03f65549219f58e1228b07a5f0440864">   93</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a03f65549219f58e1228b07a5f0440864">CDB_ChangePass</a>(<span class="keyword">const</span> std::string&amp; old, <span class="keyword">const</span> std::string&amp; _new ) = 0;</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ac448a0833dab7db1f7366c718a7b778b">   94</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ac448a0833dab7db1f7366c718a7b778b">CDB_SetCharSet</a>(<span class="keyword">const</span> std::string&amp; char_set) = 0;</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a39b2ebdc54683d7ec266541404cc20a1">   95</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a39b2ebdc54683d7ec266541404cc20a1">CDB_EnumColName</a>(<span class="keyword">const</span> std::string&amp; table, <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; col_names ) = 0;</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a84eec0e476b5ec32531c1a9a72bcc4b3">   96</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a84eec0e476b5ec32531c1a9a72bcc4b3">CDB_GetRow</a>(<span class="keywordtype">int</span> pos, <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; row) = 0;</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#af3d6c7bbf835b2bcf3e9ac4eee7c171f">   97</a></span>    <span class="keyword">virtual</span> std::string&amp; <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#af3d6c7bbf835b2bcf3e9ac4eee7c171f">CDB_GetErrMsg</a>() = 0;</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a00936a9d54a044c6434a5cf35da56e8c">   98</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a00936a9d54a044c6434a5cf35da56e8c">CDB_Last_Insert_ID</a>() = 0;</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a781318b005f676dcb0120f84144c5fb6">   99</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a781318b005f676dcb0120f84144c5fb6">CDB_Last_Insert_ID</a>(<span class="keyword">const</span> std::string&amp; table)  = 0;</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#accd5c02dc6cbe9ffeee8590bb6dde39f">  104</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#accd5c02dc6cbe9ffeee8590bb6dde39f">CDB_AutoCommit</a>( <span class="keywordtype">bool</span> flag ) = 0;</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ae485d6ecd8bc6f7015d88503592d5955">  105</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ae485d6ecd8bc6f7015d88503592d5955">CDB_Commit</a>() = 0;</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span><span class="comment">//服务器管理类函数</span></div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a157dc5e5ac25ea7856dbc0c4b74bfaca">  107</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a157dc5e5ac25ea7856dbc0c4b74bfaca">CDB_GetServerInfo</a>(std::string&amp; info) = 0;</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a50c492d5c118db9460d9baeacff495c8">  108</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a50c492d5c118db9460d9baeacff495c8">CDB_GetClientInfo</a>(std::string&amp; infor) = 0;</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#adf7796ec9c3cef23fa2f3fa5cab787e3">  109</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#adf7796ec9c3cef23fa2f3fa5cab787e3">CDB_ProcessList</a>() = 0;</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a55e17e9eebf9ae1b25bc6596278da7de">  110</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a55e17e9eebf9ae1b25bc6596278da7de">CDB_Kill</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> pid) = 0;</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#adfbf9c4879cec73acd000dbb980348f9">  111</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#adfbf9c4879cec73acd000dbb980348f9">CDB_NumQuerys</a>() = 0;</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a26d67602c7b42c48870d5e7357534b49">  112</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a26d67602c7b42c48870d5e7357534b49">CDB_NetLoad</a>() = 0;</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#abddcd64c9e54ae9d391c775ddaa247ab">  113</a></span>    <span class="keyword">virtual</span> std::string <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#abddcd64c9e54ae9d391c775ddaa247ab">CDB_GetDBName</a>() = 0;</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span> </div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a4c0ffcddb5e284c063a20ce11638fa19">  115</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a4c0ffcddb5e284c063a20ce11638fa19">CDB_GetValue</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col, uint8_t&amp; value) = 0;</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a3f35d11de3d0d045391ebb7f9f4b8e00">  116</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a3f35d11de3d0d045391ebb7f9f4b8e00">CDB_GetValue</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col, uint16_t&amp; value) = 0;</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a2f5c77e0fc1f9d2af85d8dfce27c43b1">  117</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a2f5c77e0fc1f9d2af85d8dfce27c43b1">CDB_GetValue</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>&amp; value) = 0;</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a08bea6d4388f258ca86fee2f00d2cb5f">  118</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a08bea6d4388f258ca86fee2f00d2cb5f">CDB_GetValue</a>( <span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>&amp; value ) = 0;</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a37362d52f871f6a007654a9680fe43ce">  119</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a37362d52f871f6a007654a9680fe43ce">CDB_GetValue</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col, <span class="keywordtype">int</span>&amp; value) = 0;</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span> </div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a78a53e35a4bb390ed3ec8507d88f6276">  121</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a78a53e35a4bb390ed3ec8507d88f6276">CDB_GetValue</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col, <span class="keywordtype">long</span>&amp; value) = 0;</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span> </div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ae3aa80b658938c67e906adf5cc1796d9">  123</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ae3aa80b658938c67e906adf5cc1796d9">CDB_GetValue</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col, <span class="keywordtype">bool</span>&amp; value) = 0;</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span> </div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#aa5788beb437adfe07d017e391482ccf4">  125</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#aa5788beb437adfe07d017e391482ccf4">CDB_GetValue</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col, <span class="keywordtype">double</span>&amp; value) = 0;</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span> </div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a2e9712f118006b4ec4434d0e24622a0d">  127</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a2e9712f118006b4ec4434d0e24622a0d">CDB_GetValue</a>( <span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col,std::string&amp; value) = 0;</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ae08a462a406d765fc72434dfd6322ad4">  128</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ae08a462a406d765fc72434dfd6322ad4">CDB_GetValue</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col, <span class="keywordtype">void</span> *buffer) = 0;</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span> </div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ad6009c40d745211d140403312f0360a6">  130</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ad6009c40d745211d140403312f0360a6">CDB_GetFieldName</a>( <span class="keywordtype">int</span> col, std::string&amp; name) = 0;</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a608bd559ced9ac917bcb64ce66f1f47c">  131</a></span>    <span class="keyword">virtual</span> std::string&amp; <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a608bd559ced9ac917bcb64ce66f1f47c">CDB_GetFieldName</a>(<span class="keywordtype">int</span> col ) = 0;</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a987e72e9c339b59238a2f629ced45d76">  132</a></span>    <span class="keyword">virtual</span> std::string&amp; <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a987e72e9c339b59238a2f629ced45d76">CDB_GetFieldOrgName</a>( <span class="keywordtype">int</span> col ) = 0;</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a016ae19af3c596ca33eddc18607fe246">  133</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a016ae19af3c596ca33eddc18607fe246">CDB_GetFieldType</a>( <span class="keywordtype">int</span> col ) = 0;</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a03b5aa49b202ebdc2246f8a3d324a52f">  134</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a03b5aa49b202ebdc2246f8a3d324a52f">is_connect</a>() = 0;</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"><a class="line" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a33c2a9fd9918eaf076f9b3c932cf6a5d">  135</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a33c2a9fd9918eaf076f9b3c932cf6a5d">CDB_GetServerType</a>() = 0;</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span>};</div>
</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span> </div>
<div class="ttc" id="aary__str_8hpp_html"><div class="ttname"><a href="../../d3/df7/ary__str_8hpp.html">ary_str.hpp</a></div></div>
<div class="ttc" id="aclass_c_d_b_field_html"><div class="ttname"><a href="../../d6/d91/class_c_d_b_field.html">CDBField</a></div><div class="ttdef"><b>定义</b> <a href="#l00044">trp_crm_db_base.h:45</a></div></div>
<div class="ttc" id="aclass_c_d_b_field_html_a2f943bda462e73726aad6cc49e3f7190"><div class="ttname"><a href="../../d6/d91/class_c_d_b_field.html#a2f943bda462e73726aad6cc49e3f7190">CDBField::SetDbName</a></div><div class="ttdeci">virtual void SetDbName(char *name)=0</div></div>
<div class="ttc" id="aclass_c_d_b_field_html_a349d54532ca7858987aed7b8f6516d6e"><div class="ttname"><a href="../../d6/d91/class_c_d_b_field.html#a349d54532ca7858987aed7b8f6516d6e">CDBField::SetFieldType</a></div><div class="ttdeci">virtual void SetFieldType(unsigned long type)=0</div></div>
<div class="ttc" id="aclass_c_d_b_field_html_a463df52f63261e56cf62dc4eb6b2fc80"><div class="ttname"><a href="../../d6/d91/class_c_d_b_field.html#a463df52f63261e56cf62dc4eb6b2fc80">CDBField::GetTableOrgName</a></div><div class="ttdeci">virtual std::string &amp; GetTableOrgName()=0</div></div>
<div class="ttc" id="aclass_c_d_b_field_html_a5d2eebff2086d837817a9fc66068c1f3"><div class="ttname"><a href="../../d6/d91/class_c_d_b_field.html#a5d2eebff2086d837817a9fc66068c1f3">CDBField::SetFieldOrgName</a></div><div class="ttdeci">virtual void SetFieldOrgName(char *name)=0</div></div>
<div class="ttc" id="aclass_c_d_b_field_html_a5e861dd62be4f9ff655d34f50f591981"><div class="ttname"><a href="../../d6/d91/class_c_d_b_field.html#a5e861dd62be4f9ff655d34f50f591981">CDBField::SetTableOrgName</a></div><div class="ttdeci">virtual void SetTableOrgName(char *name)=0</div></div>
<div class="ttc" id="aclass_c_d_b_field_html_a61d287f485cb604389e27af6f4679688"><div class="ttname"><a href="../../d6/d91/class_c_d_b_field.html#a61d287f485cb604389e27af6f4679688">CDBField::SetFieldName</a></div><div class="ttdeci">virtual void SetFieldName(char *name)=0</div></div>
<div class="ttc" id="aclass_c_d_b_field_html_a632f4c75792147d1132ded35360bbfe5"><div class="ttname"><a href="../../d6/d91/class_c_d_b_field.html#a632f4c75792147d1132ded35360bbfe5">CDBField::SetDbOrgName</a></div><div class="ttdeci">virtual void SetDbOrgName(char *name)=0</div></div>
<div class="ttc" id="aclass_c_d_b_field_html_a6c5637ea34a44bb96bddf8cec2b0d4e1"><div class="ttname"><a href="../../d6/d91/class_c_d_b_field.html#a6c5637ea34a44bb96bddf8cec2b0d4e1">CDBField::GetFlags</a></div><div class="ttdeci">virtual unsigned long GetFlags()=0</div></div>
<div class="ttc" id="aclass_c_d_b_field_html_a8265e8ec2cf6cc155fde136e858dc091"><div class="ttname"><a href="../../d6/d91/class_c_d_b_field.html#a8265e8ec2cf6cc155fde136e858dc091">CDBField::GetFieldType</a></div><div class="ttdeci">virtual unsigned long GetFieldType()=0</div></div>
<div class="ttc" id="aclass_c_d_b_field_html_a83e78927774f6fb8a445ec35087fa841"><div class="ttname"><a href="../../d6/d91/class_c_d_b_field.html#a83e78927774f6fb8a445ec35087fa841">CDBField::GetFieldOrgName</a></div><div class="ttdeci">virtual std::string &amp; GetFieldOrgName()=0</div></div>
<div class="ttc" id="aclass_c_d_b_field_html_a9386e4c4423f35f56bff17b953008833"><div class="ttname"><a href="../../d6/d91/class_c_d_b_field.html#a9386e4c4423f35f56bff17b953008833">CDBField::DisableFlags</a></div><div class="ttdeci">virtual void DisableFlags(unsigned long type)=0</div><div class="ttdoc">指定或者取消属性</div></div>
<div class="ttc" id="aclass_c_d_b_field_html_a95652cf7d28d6714318ae5b473d16d30"><div class="ttname"><a href="../../d6/d91/class_c_d_b_field.html#a95652cf7d28d6714318ae5b473d16d30">CDBField::GetTableName</a></div><div class="ttdeci">virtual std::string &amp; GetTableName()=0</div></div>
<div class="ttc" id="aclass_c_d_b_field_html_a95bc1c17dd5daf319edd3402fa313ebc"><div class="ttname"><a href="../../d6/d91/class_c_d_b_field.html#a95bc1c17dd5daf319edd3402fa313ebc">CDBField::SetFlags</a></div><div class="ttdeci">virtual void SetFlags(unsigned long type)=0</div></div>
<div class="ttc" id="aclass_c_d_b_field_html_a99988045ad1cab0533fd5c29c4705110"><div class="ttname"><a href="../../d6/d91/class_c_d_b_field.html#a99988045ad1cab0533fd5c29c4705110">CDBField::GetFieldName</a></div><div class="ttdeci">virtual std::string &amp; GetFieldName()=0</div></div>
<div class="ttc" id="aclass_c_d_b_field_html_aa7da1e30061bc36da3d694a867ff802d"><div class="ttname"><a href="../../d6/d91/class_c_d_b_field.html#aa7da1e30061bc36da3d694a867ff802d">CDBField::SetTableName</a></div><div class="ttdeci">virtual void SetTableName(char *name)=0</div></div>
<div class="ttc" id="aclass_c_d_b_field_html_acfefeb51211ac57ac38e04aef4882b2a"><div class="ttname"><a href="../../d6/d91/class_c_d_b_field.html#acfefeb51211ac57ac38e04aef4882b2a">CDBField::GetDbName</a></div><div class="ttdeci">virtual std::string &amp; GetDbName()=0</div></div>
<div class="ttc" id="aclass_c_d_b_field_html_aed1dd391dcd79aace60a1cff35781946"><div class="ttname"><a href="../../d6/d91/class_c_d_b_field.html#aed1dd391dcd79aace60a1cff35781946">CDBField::GetDbOrgName</a></div><div class="ttdeci">virtual std::string &amp; GetDbOrgName()=0</div></div>
<div class="ttc" id="aclass_c_d_b_field_html_af1117f6eae0ee8821daf5b4d827ab6d3"><div class="ttname"><a href="../../d6/d91/class_c_d_b_field.html#af1117f6eae0ee8821daf5b4d827ab6d3">CDBField::EnableFlags</a></div><div class="ttdeci">virtual void EnableFlags(unsigned long type, bool enable=true)=0</div></div>
<div class="ttc" id="aclass_c_d_b_tuple_html"><div class="ttname"><a href="../../dc/dc9/class_c_d_b_tuple.html">CDBTuple</a></div><div class="ttdef"><b>定义</b> <a href="#l00025">trp_crm_db_base.h:26</a></div></div>
<div class="ttc" id="aclass_c_d_b_tuple_html_a5fe9e1b839235d06f8a7a24dd5423e14"><div class="ttname"><a href="../../dc/dc9/class_c_d_b_tuple.html#a5fe9e1b839235d06f8a7a24dd5423e14">CDBTuple::GetValue</a></div><div class="ttdeci">virtual bool GetValue(int col, float &amp;value)=0</div></div>
<div class="ttc" id="aclass_c_d_b_tuple_html_a86c666588e4b167ac898ef10118a76fe"><div class="ttname"><a href="../../dc/dc9/class_c_d_b_tuple.html#a86c666588e4b167ac898ef10118a76fe">CDBTuple::GetValue</a></div><div class="ttdeci">virtual bool GetValue(int col, std::string &amp;value)=0</div></div>
<div class="ttc" id="aclass_c_d_b_tuple_html_a8bd990b42382c85a77a2c64c5bff4275"><div class="ttname"><a href="../../dc/dc9/class_c_d_b_tuple.html#a8bd990b42382c85a77a2c64c5bff4275">CDBTuple::GetValue</a></div><div class="ttdeci">virtual bool GetValue(int col, double &amp;value)=0</div></div>
<div class="ttc" id="aclass_c_d_b_tuple_html_a8f17a1ba46d7b3996adaff050ccaf990"><div class="ttname"><a href="../../dc/dc9/class_c_d_b_tuple.html#a8f17a1ba46d7b3996adaff050ccaf990">CDBTuple::GetValue</a></div><div class="ttdeci">virtual bool GetValue(int col, uint16_t &amp;value)=0</div></div>
<div class="ttc" id="aclass_c_d_b_tuple_html_a91119fcae1c42e6dabc9082f85004a91"><div class="ttname"><a href="../../dc/dc9/class_c_d_b_tuple.html#a91119fcae1c42e6dabc9082f85004a91">CDBTuple::GetValue</a></div><div class="ttdeci">virtual bool GetValue(int col, bool &amp;value)=0</div></div>
<div class="ttc" id="aclass_c_d_b_tuple_html_a97a6fcb20e5f600008bde943164fe1d8"><div class="ttname"><a href="../../dc/dc9/class_c_d_b_tuple.html#a97a6fcb20e5f600008bde943164fe1d8">CDBTuple::GetValue</a></div><div class="ttdeci">virtual bool GetValue(int col, long &amp;value)=0</div></div>
<div class="ttc" id="aclass_c_d_b_tuple_html_abdcbbcba84527e4bb27cff9efeeba7f7"><div class="ttname"><a href="../../dc/dc9/class_c_d_b_tuple.html#abdcbbcba84527e4bb27cff9efeeba7f7">CDBTuple::GetValue</a></div><div class="ttdeci">virtual bool GetValue(int col, int &amp;value)=0</div></div>
<div class="ttc" id="aclass_c_d_b_tuple_html_ac8410ef9153213eb193e7265fb7312ef"><div class="ttname"><a href="../../dc/dc9/class_c_d_b_tuple.html#ac8410ef9153213eb193e7265fb7312ef">CDBTuple::GetValue</a></div><div class="ttdeci">virtual bool GetValue(int col, unsigned int &amp;value)=0</div></div>
<div class="ttc" id="aclass_c_d_b_tuple_html_adfbf1eb5159f0764720dea858e7367a6"><div class="ttname"><a href="../../dc/dc9/class_c_d_b_tuple.html#adfbf1eb5159f0764720dea858e7367a6">CDBTuple::GetValue</a></div><div class="ttdeci">virtual bool GetValue(int col, void *buffer, size_t len)=0</div></div>
<div class="ttc" id="aclass_c_d_b_tuple_html_ae0a350794b779c293de7d29448b4e2a0"><div class="ttname"><a href="../../dc/dc9/class_c_d_b_tuple.html#ae0a350794b779c293de7d29448b4e2a0">CDBTuple::GetValue</a></div><div class="ttdeci">virtual bool GetValue(int col, unsigned long &amp;value)=0</div></div>
<div class="ttc" id="aclass_c_d_b_tuple_html_afd8ed71fd93a20389e171c31630458e4"><div class="ttname"><a href="../../dc/dc9/class_c_d_b_tuple.html#afd8ed71fd93a20389e171c31630458e4">CDBTuple::GetValue</a></div><div class="ttdeci">virtual bool GetValue(int col, uint8_t &amp;value)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html">CTRP_CRM_DB</a></div><div class="ttdef"><b>定义</b> <a href="#l00069">trp_crm_db_base.h:70</a></div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a00936a9d54a044c6434a5cf35da56e8c"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a00936a9d54a044c6434a5cf35da56e8c">CTRP_CRM_DB::CDB_Last_Insert_ID</a></div><div class="ttdeci">virtual unsigned long CDB_Last_Insert_ID()=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a016ae19af3c596ca33eddc18607fe246"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a016ae19af3c596ca33eddc18607fe246">CTRP_CRM_DB::CDB_GetFieldType</a></div><div class="ttdeci">virtual unsigned long CDB_GetFieldType(int col)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a03b5aa49b202ebdc2246f8a3d324a52f"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a03b5aa49b202ebdc2246f8a3d324a52f">CTRP_CRM_DB::is_connect</a></div><div class="ttdeci">virtual bool is_connect()=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a03f65549219f58e1228b07a5f0440864"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a03f65549219f58e1228b07a5f0440864">CTRP_CRM_DB::CDB_ChangePass</a></div><div class="ttdeci">virtual int CDB_ChangePass(const std::string &amp;old, const std::string &amp;_new)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a06fcc9317ce157359b16e6f3f830be15"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a06fcc9317ce157359b16e6f3f830be15">CTRP_CRM_DB::CDB_Connect</a></div><div class="ttdeci">virtual int CDB_Connect(const std::string &amp;add, int port, const std::string &amp;user, const std::string &amp;password, const std::string &amp;db)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a08bea6d4388f258ca86fee2f00d2cb5f"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a08bea6d4388f258ca86fee2f00d2cb5f">CTRP_CRM_DB::CDB_GetValue</a></div><div class="ttdeci">virtual bool CDB_GetValue(int row, int col, unsigned long &amp;value)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a12ac71e313a851a5de28e5057ffe3df3"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a12ac71e313a851a5de28e5057ffe3df3">CTRP_CRM_DB::CDB_NumRows</a></div><div class="ttdeci">virtual int CDB_NumRows()=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a157dc5e5ac25ea7856dbc0c4b74bfaca"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a157dc5e5ac25ea7856dbc0c4b74bfaca">CTRP_CRM_DB::CDB_GetServerInfo</a></div><div class="ttdeci">virtual bool CDB_GetServerInfo(std::string &amp;info)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a1fc83db70b3168c01ed6352308d2cdc0"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a1fc83db70b3168c01ed6352308d2cdc0">CTRP_CRM_DB::CDB_EnumTables</a></div><div class="ttdeci">virtual int CDB_EnumTables(ArrayString &amp;tables)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a26d67602c7b42c48870d5e7357534b49"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a26d67602c7b42c48870d5e7357534b49">CTRP_CRM_DB::CDB_NetLoad</a></div><div class="ttdeci">virtual unsigned long CDB_NetLoad()=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a2e9712f118006b4ec4434d0e24622a0d"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a2e9712f118006b4ec4434d0e24622a0d">CTRP_CRM_DB::CDB_GetValue</a></div><div class="ttdeci">virtual bool CDB_GetValue(int row, int col, std::string &amp;value)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a2f5c77e0fc1f9d2af85d8dfce27c43b1"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a2f5c77e0fc1f9d2af85d8dfce27c43b1">CTRP_CRM_DB::CDB_GetValue</a></div><div class="ttdeci">virtual bool CDB_GetValue(int row, int col, unsigned int &amp;value)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a33c2a9fd9918eaf076f9b3c932cf6a5d"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a33c2a9fd9918eaf076f9b3c932cf6a5d">CTRP_CRM_DB::CDB_GetServerType</a></div><div class="ttdeci">virtual int CDB_GetServerType()=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a37362d52f871f6a007654a9680fe43ce"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a37362d52f871f6a007654a9680fe43ce">CTRP_CRM_DB::CDB_GetValue</a></div><div class="ttdeci">virtual bool CDB_GetValue(int row, int col, int &amp;value)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a39b2ebdc54683d7ec266541404cc20a1"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a39b2ebdc54683d7ec266541404cc20a1">CTRP_CRM_DB::CDB_EnumColName</a></div><div class="ttdeci">virtual int CDB_EnumColName(const std::string &amp;table, ArrayString &amp;col_names)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a3f35d11de3d0d045391ebb7f9f4b8e00"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a3f35d11de3d0d045391ebb7f9f4b8e00">CTRP_CRM_DB::CDB_GetValue</a></div><div class="ttdeci">virtual bool CDB_GetValue(int row, int col, uint16_t &amp;value)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a4c0ffcddb5e284c063a20ce11638fa19"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a4c0ffcddb5e284c063a20ce11638fa19">CTRP_CRM_DB::CDB_GetValue</a></div><div class="ttdeci">virtual bool CDB_GetValue(int row, int col, uint8_t &amp;value)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a50c492d5c118db9460d9baeacff495c8"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a50c492d5c118db9460d9baeacff495c8">CTRP_CRM_DB::CDB_GetClientInfo</a></div><div class="ttdeci">virtual bool CDB_GetClientInfo(std::string &amp;infor)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a55e17e9eebf9ae1b25bc6596278da7de"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a55e17e9eebf9ae1b25bc6596278da7de">CTRP_CRM_DB::CDB_Kill</a></div><div class="ttdeci">virtual bool CDB_Kill(unsigned long pid)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a608bd559ced9ac917bcb64ce66f1f47c"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a608bd559ced9ac917bcb64ce66f1f47c">CTRP_CRM_DB::CDB_GetFieldName</a></div><div class="ttdeci">virtual std::string &amp; CDB_GetFieldName(int col)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a781318b005f676dcb0120f84144c5fb6"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a781318b005f676dcb0120f84144c5fb6">CTRP_CRM_DB::CDB_Last_Insert_ID</a></div><div class="ttdeci">virtual unsigned long CDB_Last_Insert_ID(const std::string &amp;table)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a78a53e35a4bb390ed3ec8507d88f6276"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a78a53e35a4bb390ed3ec8507d88f6276">CTRP_CRM_DB::CDB_GetValue</a></div><div class="ttdeci">virtual bool CDB_GetValue(int row, int col, long &amp;value)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a84eec0e476b5ec32531c1a9a72bcc4b3"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a84eec0e476b5ec32531c1a9a72bcc4b3">CTRP_CRM_DB::CDB_GetRow</a></div><div class="ttdeci">virtual int CDB_GetRow(int pos, ArrayString &amp;row)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a8e4ee35bec473f3263476d8ef58ba1d4"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a8e4ee35bec473f3263476d8ef58ba1d4">CTRP_CRM_DB::CDB_EnumDBS</a></div><div class="ttdeci">virtual int CDB_EnumDBS(ArrayString &amp;dbs)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a9634b263554fe6e3bbb09dc673f0e150"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a9634b263554fe6e3bbb09dc673f0e150">CTRP_CRM_DB::CDB_EnumTables</a></div><div class="ttdeci">virtual int CDB_EnumTables(const std::string &amp;db, ArrayString &amp;tables)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a987e72e9c339b59238a2f629ced45d76"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a987e72e9c339b59238a2f629ced45d76">CTRP_CRM_DB::CDB_GetFieldOrgName</a></div><div class="ttdeci">virtual std::string &amp; CDB_GetFieldOrgName(int col)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a9b000923afdc130e4a0856c910307ae1"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a9b000923afdc130e4a0856c910307ae1">CTRP_CRM_DB::CDB_NumCols</a></div><div class="ttdeci">virtual int CDB_NumCols()=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_a9b46818d0049739f6e20d4350607fa8e"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#a9b46818d0049739f6e20d4350607fa8e">CTRP_CRM_DB::CDB_Query</a></div><div class="ttdeci">virtual errCode CDB_Query(const std::string &amp;sql)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_aa5788beb437adfe07d017e391482ccf4"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#aa5788beb437adfe07d017e391482ccf4">CTRP_CRM_DB::CDB_GetValue</a></div><div class="ttdeci">virtual bool CDB_GetValue(int row, int col, double &amp;value)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_ab8b5205062162c81c35d2a2b730ef1e4"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4">CTRP_CRM_DB::errCode</a></div><div class="ttdeci">errCode</div><div class="ttdoc">错误代码定义</div><div class="ttdef"><b>定义</b> <a href="#l00073">trp_crm_db_base.h:73</a></div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_ab8b5205062162c81c35d2a2b730ef1e4a18648758daca1db1e05d22fc61b24b88"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4a18648758daca1db1e05d22fc61b24b88">CTRP_CRM_DB::OK</a></div><div class="ttdeci">@ OK</div><div class="ttdef"><b>定义</b> <a href="#l00080">trp_crm_db_base.h:79</a></div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_ab8b5205062162c81c35d2a2b730ef1e4a368e00793362ebad4cf31d34519a53d2"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4a368e00793362ebad4cf31d34519a53d2">CTRP_CRM_DB::ERR_TABLE_NAME_EMPTY</a></div><div class="ttdeci">@ ERR_TABLE_NAME_EMPTY</div><div class="ttdef"><b>定义</b> <a href="#l00078">trp_crm_db_base.h:78</a></div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_ab8b5205062162c81c35d2a2b730ef1e4a638a93e047048f5e8a67d17849cc4b56"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4a638a93e047048f5e8a67d17849cc4b56">CTRP_CRM_DB::ERR_NULL_ROWS</a></div><div class="ttdeci">@ ERR_NULL_ROWS</div><div class="ttdef"><b>定义</b> <a href="#l00074">trp_crm_db_base.h:74</a></div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_ab8b5205062162c81c35d2a2b730ef1e4a7ede4284f0a46ad8e681c64657669ecd"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4a7ede4284f0a46ad8e681c64657669ecd">CTRP_CRM_DB::ERR_MYSQL_NOT_CONNECTED</a></div><div class="ttdeci">@ ERR_MYSQL_NOT_CONNECTED</div><div class="ttdef"><b>定义</b> <a href="#l00077">trp_crm_db_base.h:77</a></div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_ab8b5205062162c81c35d2a2b730ef1e4ab65068ded8bd5bc7aafd63b04cfb43ed"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4ab65068ded8bd5bc7aafd63b04cfb43ed">CTRP_CRM_DB::ERR_EMPTY_USER</a></div><div class="ttdeci">@ ERR_EMPTY_USER</div><div class="ttdef"><b>定义</b> <a href="#l00076">trp_crm_db_base.h:76</a></div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_ab8b5205062162c81c35d2a2b730ef1e4ae2696871aaba7495fdf03349d2714981"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ab8b5205062162c81c35d2a2b730ef1e4ae2696871aaba7495fdf03349d2714981">CTRP_CRM_DB::ERR_NULL_FIELD_RESULT</a></div><div class="ttdeci">@ ERR_NULL_FIELD_RESULT</div><div class="ttdef"><b>定义</b> <a href="#l00075">trp_crm_db_base.h:75</a></div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_ababdac188fd9011be7bcb1bde5e2288c"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ababdac188fd9011be7bcb1bde5e2288c">CTRP_CRM_DB::CDB_Disconnect</a></div><div class="ttdeci">virtual int CDB_Disconnect()=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_abddcd64c9e54ae9d391c775ddaa247ab"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#abddcd64c9e54ae9d391c775ddaa247ab">CTRP_CRM_DB::CDB_GetDBName</a></div><div class="ttdeci">virtual std::string CDB_GetDBName()=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_ac448a0833dab7db1f7366c718a7b778b"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ac448a0833dab7db1f7366c718a7b778b">CTRP_CRM_DB::CDB_SetCharSet</a></div><div class="ttdeci">virtual int CDB_SetCharSet(const std::string &amp;char_set)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_accd5c02dc6cbe9ffeee8590bb6dde39f"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#accd5c02dc6cbe9ffeee8590bb6dde39f">CTRP_CRM_DB::CDB_AutoCommit</a></div><div class="ttdeci">virtual void CDB_AutoCommit(bool flag)=0</div><div class="ttdoc">确定是否需要将sql命令试用自动事务提交方式进行处理。</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_ad6009c40d745211d140403312f0360a6"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ad6009c40d745211d140403312f0360a6">CTRP_CRM_DB::CDB_GetFieldName</a></div><div class="ttdeci">virtual void CDB_GetFieldName(int col, std::string &amp;name)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_adf7796ec9c3cef23fa2f3fa5cab787e3"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#adf7796ec9c3cef23fa2f3fa5cab787e3">CTRP_CRM_DB::CDB_ProcessList</a></div><div class="ttdeci">virtual bool CDB_ProcessList()=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_adfbf9c4879cec73acd000dbb980348f9"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#adfbf9c4879cec73acd000dbb980348f9">CTRP_CRM_DB::CDB_NumQuerys</a></div><div class="ttdeci">virtual unsigned long CDB_NumQuerys()=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_ae08a462a406d765fc72434dfd6322ad4"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ae08a462a406d765fc72434dfd6322ad4">CTRP_CRM_DB::CDB_GetValue</a></div><div class="ttdeci">virtual bool CDB_GetValue(int row, int col, void *buffer)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_ae3aa80b658938c67e906adf5cc1796d9"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ae3aa80b658938c67e906adf5cc1796d9">CTRP_CRM_DB::CDB_GetValue</a></div><div class="ttdeci">virtual bool CDB_GetValue(int row, int col, bool &amp;value)=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_ae485d6ecd8bc6f7015d88503592d5955"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#ae485d6ecd8bc6f7015d88503592d5955">CTRP_CRM_DB::CDB_Commit</a></div><div class="ttdeci">virtual bool CDB_Commit()=0</div></div>
<div class="ttc" id="aclass_c_t_r_p___c_r_m___d_b_html_af3d6c7bbf835b2bcf3e9ac4eee7c171f"><div class="ttname"><a href="../../dd/d5a/class_c_t_r_p___c_r_m___d_b.html#af3d6c7bbf835b2bcf3e9ac4eee7c171f">CTRP_CRM_DB::CDB_GetErrMsg</a></div><div class="ttdeci">virtual std::string &amp; CDB_GetErrMsg()=0</div></div>
<div class="ttc" id="anamespacewheels_html"><div class="ttname"><a href="../../df/d8d/namespacewheels.html">wheels</a></div><div class="ttdoc">堆栈信息读取和保存记录</div><div class="ttdef"><b>定义</b> <a href="../../d3/df7/ary__str_8hpp_source.html#l00006">ary_str.hpp:7</a></div></div>
<div class="ttc" id="anamespacewheels_html_a17042f775c3493c1f9592ca7883dbd5e"><div class="ttname"><a href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">wheels::ArrayString</a></div><div class="ttdeci">ary_str ArrayString</div><div class="ttdef"><b>定义</b> <a href="../../d3/df7/ary__str_8hpp_source.html#l00010">ary_str.hpp:10</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
